import request from '@/util/request';

export const getList = (params) => {
	return request({
		url: '/app/usercoupon/list',
		method: 'get',
		data: params
	})
}

export const getAntiList = (params) => {
	return request({
		url: '/app/usercoupon/antilist',
		method: 'get',
		data: params
	})
}

export const getConditionList = (params) => {
	return request({
		url: '/app/usercoupon/listfilter',
		method: 'get',
		data: params
	})
}

export const getFilter2List = (params) => {
	return request({
		url: '/app/usercoupon/listfilter2',
		method: 'get',
		data: params
	})
}

export const autoCheck = () => {
	return request({
		url: '/app/usercoupon/check',
		method: 'get',
	})
}

export const delteById = (params) => {
	return request({
		url: '/app/usercoupon/delete',
		method: 'post',
		data: params
	})
}